<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>班级信息管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="./css/font.css">
    <link rel="stylesheet" href="./css/xadmin.css">
    <link rel="stylesheet" href="https://cdn.bootcss.com/Swiper/3.4.2/css/swiper.min.css">
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script type="text/javascript" src="https://cdn.bootcss.com/Swiper/3.4.2/js/swiper.jquery.min.js"></script>
    <script src="./lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="./js/xadmin.js"></script>

</head>
<body>
<!-- 顶部开始 -->
    <div th:replace="common::#topbar"></div>
<!-- 顶部结束 -->
<!-- 中部开始 -->
<div class="wrapper">
    <!-- 左侧菜单开始 -->
    <div th:replace="common::#leftbar"></div>
    <!-- 左侧菜单结束 -->
    <!-- 右侧主体开始 -->
    <div class="page-content">
        <div class="content">
            <!-- 右侧内容框架，更改从这里开始 -->
            <xblock>

                <span class="x-right" style="line-height:40px"> [[${comName}]] 毕业生信息</span>
            </xblock>
            <table class="layui-table">
                <thead>
                <tr>
                    <th>编号</th>
                    <th>姓名</th>
                    <th>性别</th>
                    <th>联系方式</th>
                    <th>班级</th>
                    <th>方向</th>
                    <th>就业时间</th>
                    <th>公司</th>
                    <th>薪资（￥）</th>
                </tr>
                </thead>
                <tbody>
                <tr th:each="graduate:${graduatesListbycomid}">
                    <td th:text="${graduate.getGraID()}">编号</td>
                    <td th:text="${graduate.user.userName}">姓名</td>
                    <td th:text="${graduate.getGraSex()}">性别</td>
                    <td th:text="${graduate.getGraTel()}">联系方式</td>
                    <td th:text="${graduate.getClasses().getClassNum()}">班级</td>
                    <td th:text="${graduate.getDirection().getDirName()}">方向</td>
                    <td th:text="${#dates.format(graduate.getGraTime(), 'yyyy-MM-dd')}">就业时间</td>
                    <td th:text="${graduate.getCompany().getComName()}">公司</td>
                    <td th:text="${graduate.getGraSalary()}">薪资</td>
                </tr>
                </tbody>
            </table>
            <!-- 右侧内容框架，更改从这里结束 -->
        </div>
    </div>
    <!-- 右侧主体结束 -->
</div>
<!-- 中部结束 -->
<!-- 底部开始 -->
<div th:replace="common::#bottombar"></div>
<!-- 底部结束 -->
<!-- 背景切换开始 -->
<div th:replace="common::#backbar"></div>
<!-- 背景切换结束 -->
</body>
</html>